.class public Lcom/waiqin365/lightapp/product/d/b;
.super Lcom/waiqin365/base/db/jxccache/h;


# instance fields
.field public a:Ljava/util/List;

.field public b:Ljava/lang/Double;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/base/db/jxccache/h;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/d/b;->a:Ljava/util/List;

    return-void
.end method

.method public constructor <init>(Lcom/waiqin365/base/db/jxccache/h;)V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/base/db/jxccache/h;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/d/b;->a:Ljava/util/List;

    if-eqz p1, :cond_0

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->a(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->b()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->b(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->e()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->a(Ljava/lang/Double;)V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->c(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->d()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->d(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/waiqin365/base/db/jxccache/h;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/d/b;->e(Ljava/lang/String;)V

    :cond_0
    return-void
.end method


# virtual methods
.method public g()Z
    .locals 10

    const/4 v0, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/d/b;->d()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    :try_start_0
    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/d/b;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/d/b;->c()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v4

    invoke-virtual {v4}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v4, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    invoke-virtual {v3}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v6

    invoke-virtual {v4}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v8

    cmp-long v1, v6, v8

    if-gtz v1, :cond_0

    invoke-virtual {v2}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v2

    invoke-virtual {v4}, Ljava/util/Calendar;->getTimeInMillis()J
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-wide v4

    cmp-long v1, v2, v4

    if-ltz v1, :cond_0

    const/4 v0, 0x1

    :cond_0
    :goto_0
    return v0

    :catch_0
    move-exception v1

    goto :goto_0
.end method
